<template>
    
   <el-tabs v-bind="attr">
    <el-tab-pane v-for="item of list" :key="item.name" :label="item.label" :name="item.name"  > </el-tab-pane>

  </el-tabs>
</template>
<script setup >
import { useAttrs } from 'vue'
const attr = useAttrs();
defineProps({
    list:Array
})



</script>
<style scoped lang="scss">

</style>
  